# $Id: PKGBUILD 84135 2013-02-11 11:34:51Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Eric Belanger <belanger@astro.umontreal.ca>
# Contributor: Ravi Desai <ravster3@hotmail.com>

pkgname=xfe
pkgver=1.34
pkgrel=1
pkgdesc="X File Explorer (Xfe) is an MS-Explorer like file manager for X."
arch=('i686' 'x86_64')
url="http://roland65.free.fr/xfe"
license=("GPL")
depends=('fox')
makedepends=('intltool')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('36d0a590d95742eb59d8128a9a7a35b4')

build() {
  cd $srcdir/$pkgname-$pkgver
#  LDFLAGS=-lX11 ./configure --prefix=/usr
  ./configure --prefix=/usr
#  sed -i 's|inline||' src/xfeutils.cpp
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install
}
